package com.sinochem.yunlian.ship.base.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import com.sinochem.yunlian.ship.api.vo.user.UcJoinCompanyFlowInfo;
import com.sinochem.yunlian.ship.base.feignFail.IUcJoinCompanyFlowServiceFail;

@FeignClient(value = "ship-ucenter", fallback = IUcJoinCompanyFlowServiceFail.class)
public interface IUcJoinCompanyFlowService {

	
	@GetMapping(value = "api/getJoinCompany/{userId}")
	public UcJoinCompanyFlowInfo getUcJoinCompanyByUserId( @PathVariable(value = "userId") String userId);
	
	@GetMapping("api/joinCompany/{id}")
	public void updateJoinCompanyStatusById( @PathVariable(value = "id") String id);
}
